package cn.entity;


import java.util.Date;

public class House {

    private Integer id;
    private Integer userId;
    private Integer typeId;
    private String title;
    private String description;
    private Double price;
    private Date pubdate;
    private Integer floorage;
    private String contact;
    private Integer streetId;
    private User user;
    private Street street;

    public Street getStreet() {
        return street;
    }

    public void setStreet(Street street) {

        this.street = street;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public User getUser() {

        return user;
    }

    public Integer getId() {
        return id;
    }


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }


    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }


    public Date getPubdate() {
        return pubdate;
    }

    public void setPubdate(Date pubdate) {
        this.pubdate = pubdate;
    }


    public Integer getFloorage() {
        return floorage;
    }

    public void setFloorage(Integer floorage) {
        this.floorage = floorage;
    }


    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }


    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStreetId() {
        return streetId;
    }

    public void setStreetId(Integer streetId) {
        this.streetId = streetId;
    }

}
